/**
 *@Author: zt
 *@Description: 会议申请
 *@Date 2024-09-26
 */

import request from "@/http";

// 列表分页查询
export const page = async (data?: object) => {
  return await request.post({
    url: "/api/bizz/admTMeet/page",
    data: data,
  });
};

// 新增
export const add = async (data: object) => {
  return await request.post({
    url: "/api/bizz/admTMeet",
    data: data,
  });
};

// 删除
export const del = async (data: Array<any>) => {
  return await request.post({
    url: "/api/bizz/admTMeet/delete",
    data,
    headersType: "application/x-www-form-urlencoded",
  });
};

// 单体查询
export const query = async (id: object) => {
  return await request.get({
    url: "/api/bizz/admTMeet/" + id,
  });
};

// 更新
export const update = async (data: object) => {
  return await request.post({
    url: "/api/bizz/admTMeet/update",
    data: data,
  });
};
